﻿using System;
using System.Data.Linq.Mapping;

namespace AEM.Data.Model
{
    [Table(Name = "TableUserAccount")]
    public class User
    {
        public User()
        {
            this.OperateLiftStatus = "0";
        }
        [Column(IsPrimaryKey = true)]
        public long ID { get; set; }
        [Column]
        public string UserName { get; set; }
        [Column]
        public string UserPWD { get; set; }
        [Column]
        public long UserGroup { get; set; }
        [Column]
        public long UserPermission { get; set; }
        [Column]
        public string OperateLiftStatus { get; set; }
        [Column]
        public DateTime CreateDate { get; set; }
        [Column]
        public DateTime LastUpdatePwdDate { get; set; }
        [Column]
        public DateTime LastLoginDate { get; set; }
    }
}
